package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObj;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @program: 2019-10-12_userCenter
 * @description: 新增黑白名单请求
 * @author: DaiGaoLe
 * @create: 2019-10-30 11:59
 **/
@Data
@ApiModel(value = "新增黑白名单请求", description = "新增黑白名单请求")
public class OperationBlacListReq extends BaseReqObj {

    private static final long serialVersionUID = -939219755991089237L;
    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", notes = "用户id", dataType = "Integer",required = true )
    @NotNull(message = "用户id不能为空")
    private Integer userId;

    /**
     * 黑白名单原因
     */
    @ApiModelProperty(value = "黑白名单原因", notes = "黑白名单原因", dataType = "String")
    private String blacklistReason;

    @ApiModelProperty(value = "业态公司id", notes = "业态公司id")
    private Integer formatId;
}
